package com.mqtt.system.service;

import com.mqtt.system.domain.Device;
import com.mqtt.system.domain.Nodes;
import com.mqtt.system.domain.vo.ExResult;
import com.sun.org.apache.bcel.internal.generic.LLOAD;

import java.util.List;

/**
 * @author wang
 * @version 1.0
 * @data 2024/5/9 下午 10:29
 * @desc 描述信息
 */
public interface DeviceService {
    public List<Nodes> nodeList();
    public ExResult createNode(Nodes nodes);
    public Boolean nodeDelete(Long id);
    public ExResult nodeUpdate(Nodes nodes);
    public List<Device> deviceList(Long nodeId);
    public ExResult deviceCreate( Device device);
    public Boolean deviceDelete(Long id);
    public ExResult deviceUpdate(Device device);

}
